import { Configuration as defaultType } from 'webpack'
import { Configuration as devType } from 'webpack-dev-server'

const WebpackType = (type: defaultType): defaultType | devType => type

export default WebpackType